TinyPaste API via LSL

November 14, 2009 · 30 views · 0 comments

TinyPaste API via LSL
taken by : Dedric Mauriac
on Motru (39, 25, 45)
blog HUD!
integer i = 0; integer count = llListLength(params); for(i = 0; i < count; i++) { key paramKey = llGetListEntryParams(); ... object serverUrl = ...

About

Many scripters have had the problem of running out of memory to store information, or losing the information when a script resets. Ways around this include adding threaded scripts, using note cards, using the description field, or adding a back-end service such as a database. I happened to come across TinyPaste.com in which you can paste text from your clipboard, save it, and hand the link out to your friends. Amazingly enough, it has an API. Using a bit of my LSL scripting skills, I was able to create a script that makes use of this API. Have a look at the code: tinypaste.com/70c90ce. From Dedric Mauriac via bloghud.com